package com.zzx.service.impl;

import java.util.List;

import javax.annotation.Resource;//autoWried

import org.springframework.stereotype.Service;

import com.zzx.mapper.EmployeeMapper;
import com.zzx.model.Employee;
import com.zzx.service.EmployeeService;

@Service
public class EmployeeServiceImpl implements EmployeeService{

	@Resource
	private EmployeeMapper eMapper;
	
	@Override
	public List<Employee> findAll() throws Exception{
		return eMapper.findAll();
		}

	@Override
	public List<Employee> findAllTwo() throws Exception {
		return eMapper.findAllTwo();
	}
}
